package com.magicsharpmod.item;

import com.magicsharpmod.MagicSharpMod;
import com.magicsharpmod.block.ModBlocks;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries;
import net.minecraft.block.Block;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;


public class ModItemGroup {
    public static final ItemGroup MagicSharp_Group = Registry.register(Registries.ITEM_GROUP,
            new Identifier(MagicSharpMod.MOD_ID,"magicsharp_group"),
            FabricItemGroup.builder().displayName(Text.translatable("魔术鲨的盒子"))
                    .icon(()-> new ItemStack(ModItems.GUN)).entries((displayContext, entries) -> {
                        entries.add(ModItems.GUN);
                         entries.add(ModBlocks.GUN_BLOCK);
                        entries.add(ModItems.MSFIRE);
                        entries.add(ModBlocks.MSFIRE_BLOCK);
                        entries.add(ModItems.SHUANGCUI_LEMON_TEA);
                        entries.add(ModItems.FRIED_SHARP_MEET);
                        entries.add(ModItems.PEE_OF_SHARP);
                        entries.add(ModItems.WOODS);
                        entries.add(ModBlocks.MAGIC_BLOCK);
                        entries.add(ModItems.PROSPECTOR);
                    }).build());

    public static void registerModItemGroup() {

    }
}
